<HTML>
<HEAD>
    <meta charset="UTF-8">
    <title>TransitionUtils.mergeAnimators - transitionx</title>
    <link href="../../../style.css" rel="stylesheet">
</HEAD>
<BODY>
<a href="../../index.html">transitionx</a>&nbsp;/&nbsp;<a href="../index.html">in.arunkumarsampath.transitionx.util</a>&nbsp;/&nbsp;<a
        href="index.html">TransitionUtils</a>&nbsp;/&nbsp;<a href="./merge-animators.html">mergeAnimators</a><br/>
<br/>
<h1>mergeAnimators</h1>
<a name="in.arunkumarsampath.transitionx.util.TransitionUtils$mergeAnimators(android.animation.Animator, android.animation.Animator)"></a>
<code><span class="keyword">fun </span><span class="identifier">mergeAnimators</span><span
        class="symbol">(</span><span class="identifier"
                                     id="in.arunkumarsampath.transitionx.util.TransitionUtils$mergeAnimators(android.animation.Animator, android.animation.Animator)/animator1">animator1</span><span
        class="symbol">:</span>&nbsp;<a
        href="https://developer.android.com/reference/android/animation/Animator.html"><span
        class="identifier">Animator</span></a><span class="symbol">?</span><span
        class="symbol">, </span><span class="identifier"
                                      id="in.arunkumarsampath.transitionx.util.TransitionUtils$mergeAnimators(android.animation.Animator, android.animation.Animator)/animator2">animator2</span><span
        class="symbol">:</span>&nbsp;<a
        href="https://developer.android.com/reference/android/animation/Animator.html"><span
        class="identifier">Animator</span></a><span class="symbol">?</span><span
        class="symbol">)</span><span class="symbol">: </span><a
        href="https://developer.android.com/reference/android/animation/Animator.html"><span
        class="identifier">Animator</span></a><span class="symbol">?</span></code>
<p>Merges non null animators among <a
        href="merge-animators.html#in.arunkumarsampath.transitionx.util.TransitionUtils$mergeAnimators(android.animation.Animator, android.animation.Animator)/animator1">animator1</a>
    and
    <a href="merge-animators.html#in.arunkumarsampath.transitionx.util.TransitionUtils$mergeAnimators(android.animation.Animator, android.animation.Animator)/animator2">animator2</a>
    and plays them together when started.</p>
<p><strong>Return</strong><br/>
    Merged animator instance.</p>
</BODY>
</HTML>
